package com.be.beadmin.project.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author Jiahao Liu
 * @CreateTime 2023-01-13
 * @Description 变更管理
 */
@Entity
@Table(name="T_PM_Change")
@Getter
@Setter
public class Change extends BaseEntity {

    @Column(name = "InfoId",columnDefinition = "VARCHAR(50) COMMENT '项目id' ")
    private String infoId;

    @Column(name = "ProjectName",columnDefinition = "VARCHAR(50) COMMENT '项目名称' ")
    private String projectName;

    @Column(name = "ContractCode",columnDefinition = "VARCHAR(50) COMMENT '合同编码' ")
    private String contractCode;

    @Column(name = "ContractName",columnDefinition = "VARCHAR(50) COMMENT '合同名称' ")
    private String contractName;

    @Column(name = "MasterPlanId",columnDefinition = "VARCHAR(50) COMMENT '主计划id' ")
    private String masterPlanId;

    @Column(name = "MasterPlanCode",columnDefinition = "VARCHAR(50) COMMENT '主计划编码' ")
    private String masterPlanCode;

    @Column(name = "BatchPlanId",columnDefinition = "VARCHAR(50) COMMENT '批次id' ")
    private String batchPlanId;

    @Column(name = "BatchPlanCode",columnDefinition = "VARCHAR(50) COMMENT '批次编码' ")
    private String batchPlanCode;

    @Column(name = "ProductId",columnDefinition = "VARCHAR(50) COMMENT '柜子id' ")
    private String productId;

    @Column(name = "ProductCode",columnDefinition = "VARCHAR(50) COMMENT '柜子编码' ")
    private String productCode;

    @Column(name = "ProductType",columnDefinition = "VARCHAR(50) COMMENT '柜体类型' ")
    private String productType;

    @Column(name = "ProductName",columnDefinition = "VARCHAR(50) COMMENT '柜子名称' ")
    private String productName;

    @Column(name = "IsStandard",columnDefinition = "int COMMENT '是否是标准柜(0/1)' ")
    private String isStandard;

//    @Column(name = "FileId",columnDefinition = "VARCHAR(50) COMMENT '附件id' ")
//    private String fileId;
//
//    @Column(name = "FileCode",columnDefinition = "VARCHAR(50) COMMENT '附件编码' ")
//    private String fileCode;
//
//    @Column(name = "Category",columnDefinition = "VARCHAR(50) COMMENT '附件类型' ")
//    private String category;
//
//    @Column(name = "Version",columnDefinition = "int COMMENT '附件版本号' ")
//    private int version;


    @Column(name = "ChangeCode",columnDefinition = "VARCHAR(50) COMMENT '变更编码' ")
    private String changeCode;

    @Column(name = "ChangeType",columnDefinition = "VARCHAR(50) COMMENT '变更类型' ")
    private String changeType;

    @Column(name = "ChangeReason",columnDefinition = "VARCHAR(50) COMMENT '变更原因' ")
    private String changeReason;

    @Column(name = "ChangeTime",columnDefinition = "datetime COMMENT '变更时间' ")
    private String changeTime;

}